﻿using System;
using System.Collections;
using System.Collections.Generic;
using System.Data;
using System.Web.UI.WebControls;


namespace Admin72H.Controls.ProductPriceNews
{
    public partial class frmComfirmDelete : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            //if (!CommonWeb.CheckLogin())
            //    Response.Redirect("~/Login.aspx");
        }

        protected void btnOk_Click(object sender, EventArgs e)
        {
            //string id = Request["ProductPriceNewsId"];
            //if (id == null)
            //{
            //    lblStatus.Text = "ID tin không được để trống!";
            //    return;
            //}
            //AMService.AMServiceClient AMServiceClient = CommonWeb.GetCurrent_AMService_Client();
            //int update = AMServiceClient.DeleteProductPriceNews(long.Parse(id));
            //if (update == (int)CommonEnums.RetCode.SUCCESS)
            //{
            //    lblStatus.Text = "Xóa tin thành công!";
            //    hdModified.Value = "true";
            //}
            //else
            //    lblStatus.Text = "Xóa tin không thành công!";
        }
    }
}
